<!DOCTYPE html>
<html>
  <head>
  <meta http-equiv="content-type" content="text/html; charset=utf-8">
  <meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport">
  <meta name="description" content="刘清政">
  <meta name="keyword" content="hexo-theme">
  
    <link rel="shortcut icon" href="/css/images/logo.png">
  
  <title>
    
      Justin-刘清政的博客
    
  </title>
  <link href="//cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
  <link href="//cdnjs.cloudflare.com/ajax/libs/nprogress/0.2.0/nprogress.min.css" rel="stylesheet">
  <link href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/styles/tomorrow.min.css" rel="stylesheet">
  
<link rel="stylesheet" href="/css/style.css">

  
    
<link rel="stylesheet" href="/css/plugins/gitment.css">

  
  <script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
  <script src="//cdnjs.cloudflare.com/ajax/libs/geopattern/1.2.3/js/geopattern.min.js"></script>
  <script src="//cdnjs.cloudflare.com/ajax/libs/nprogress/0.2.0/nprogress.min.js"></script>
  
    
<script src="/js/qrious.js"></script>

  
  
    
<script src="/js/gitment.js"></script>

  
  

  
<meta name="generator" content="Hexo 4.2.0"></head>
<div class="wechat-share">
  <img src="/css/images/logo.png" />
</div>

  <body>
    <header class="header fixed-header">
  <div class="header-container">
    <a class="home-link" href="/">
      <div class="logo"></div>
      <span>Justin-刘清政的博客</span>
    </a>
    <ul class="right-list">
      
        <li class="list-item">
          
            <a href="/" class="item-link active">主页</a>
          
        </li>
      
        <li class="list-item">
          
            <a href="/tags/" class="item-link">标签</a>
          
        </li>
      
        <li class="list-item">
          
            <a href="/archives/" class="item-link">归档</a>
          
        </li>
      
        <li class="list-item">
          
            <a href="/about/" class="item-link">关于我</a>
          
        </li>
      
    </ul>
    <div class="menu">
      <span class="icon-bar"></span>
      <span class="icon-bar"></span>
      <span class="icon-bar"></span>
    </div>
    <div class="menu-mask">
      <ul class="menu-list">
        
          <li class="menu-item">
            
              <a href="/" class="menu-link mobile-active">主页</a>
            
          </li>
        
          <li class="menu-item">
            
              <a href="/tags/" class="menu-link">标签</a>
            
          </li>
        
          <li class="menu-item">
            
              <a href="/archives/" class="menu-link">归档</a>
            
          </li>
        
          <li class="menu-item">
            
              <a href="/about/" class="menu-link">关于我</a>
            
          </li>
        
      </ul>
    </div>
  </div>
</header>

    <main class="app-body">
  
    <article class="article-card">
      <h2 class="article-head">
        <a href="/python/Python%E5%BC%82%E6%AD%A5IO%E5%B9%B6%E5%8F%91/6-Python%E4%B8%AD%E5%8D%8F%E7%A8%8B/">6-Python中协程</a>
      </h2>
      <p class="article-date">2020年3月25日</p>
      
        
  <a href="/tags#Python" >
    <span class="tag-code">Python</span>
  </a>

      
      <div class="article-summary">
        
          
        
      </div>
      <a class="more" href="/python/Python%E5%BC%82%E6%AD%A5IO%E5%B9%B6%E5%8F%91/6-Python%E4%B8%AD%E5%8D%8F%E7%A8%8B/">详情...</a>
    </article>
  
    <article class="article-card">
      <h2 class="article-head">
        <a href="/python/%E5%85%B6%E4%BB%96/04-MyCat%E5%AE%9E%E7%8E%B0%E5%88%86%E5%BA%93%E5%88%86%E8%A1%A8/">python/其他/04-MyCat实现分库分表</a>
      </h2>
      <p class="article-date">2020年3月15日</p>
      
      <div class="article-summary">
        
          MyCat实现分库分表一 开源数据库中间件-MyCat如今随着互联网的发展，数据的量级也是撑指数的增长，从GB到TB到PB。对数据的各种操作也是愈加的困难，传统的关系性数据库已经无法满足快速查询与插入数据的需求。这个时候NoSQL的出现暂时解决了这一危机。它通过降低数据的安全性，减少对事务的 ...
        
      </div>
      <a class="more" href="/python/%E5%85%B6%E4%BB%96/04-MyCat%E5%AE%9E%E7%8E%B0%E5%88%86%E5%BA%93%E5%88%86%E8%A1%A8/">详情...</a>
    </article>
  
    <article class="article-card">
      <h2 class="article-head">
        <a href="/db/Elasticsearch%E7%B3%BB%E5%88%97/9-11%E6%96%87%E6%A1%A3%E6%93%8D%E4%BD%9C/16-Elasticsearch%20for%20Python%E4%B9%8B%E6%93%8D%E4%BD%9C/">db/Elasticsearch系列/9-11文档操作/16-Elasticsearch for Python之操作</a>
      </h2>
      <p class="article-date">2020年3月10日</p>
      
      <div class="article-summary">
        
          16-Elasticsearch for Python之操作一 前言Python中关于elasticsearch的操作，主要集中一下几个方面：

结果过滤，对于返回结果做过滤，主要是优化返回内容。
Elasticsearch（简称es），直接操作elasticsearch对象，处理一些简单的 ...
        
      </div>
      <a class="more" href="/db/Elasticsearch%E7%B3%BB%E5%88%97/9-11%E6%96%87%E6%A1%A3%E6%93%8D%E4%BD%9C/16-Elasticsearch%20for%20Python%E4%B9%8B%E6%93%8D%E4%BD%9C/">详情...</a>
    </article>
  
    <article class="article-card">
      <h2 class="article-head">
        <a href="/db/Elasticsearch%E7%B3%BB%E5%88%97/9-11%E6%96%87%E6%A1%A3%E6%93%8D%E4%BD%9C/15-Elasticsearch%20for%20Python%E4%B9%8B%E8%BF%9E%E6%8E%A5/">db/Elasticsearch系列/9-11文档操作/15-Elasticsearch for Python之连接</a>
      </h2>
      <p class="article-date">2020年3月10日</p>
      
      <div class="article-summary">
        
          15-Elasticsearch for Python之连接一 前言现在，我们来学习Python如何操作elasticsearch。
二 依赖下载首先，我们必须拥有Python的环境，如何搭建Python环境，请参阅。 要用Python来操作elasticsearch，首先安装Python的 ...
        
      </div>
      <a class="more" href="/db/Elasticsearch%E7%B3%BB%E5%88%97/9-11%E6%96%87%E6%A1%A3%E6%93%8D%E4%BD%9C/15-Elasticsearch%20for%20Python%E4%B9%8B%E8%BF%9E%E6%8E%A5/">详情...</a>
    </article>
  
    <article class="article-card">
      <h2 class="article-head">
        <a href="/db/Elasticsearch%E7%B3%BB%E5%88%97/9-11%E6%96%87%E6%A1%A3%E6%93%8D%E4%BD%9C/14-Elasticsearch%20-%20ik%E5%88%86%E8%AF%8D%E5%99%A8/">db/Elasticsearch系列/9-11文档操作/14-Elasticsearch - ik分词器</a>
      </h2>
      <p class="article-date">2020年3月10日</p>
      
      <div class="article-summary">
        
          14-Elasticsearch - ik分词器一 前言在知名的中分分词器中，ik中文分词器的大名可以说是无人不知，elasticsearch有了ik分词器的加持，就像男人有了神油…….要了解ik中文分词器，就首先要了解一下它的由来。
二 ik分词器的由来IK Analyzer是一个开源的， ...
        
      </div>
      <a class="more" href="/db/Elasticsearch%E7%B3%BB%E5%88%97/9-11%E6%96%87%E6%A1%A3%E6%93%8D%E4%BD%9C/14-Elasticsearch%20-%20ik%E5%88%86%E8%AF%8D%E5%99%A8/">详情...</a>
    </article>
  
    <article class="article-card">
      <h2 class="article-head">
        <a href="/db/Elasticsearch%E7%B3%BB%E5%88%97/9-11%E6%96%87%E6%A1%A3%E6%93%8D%E4%BD%9C/13-Elasticsearch%20-%20%E5%88%86%E6%9E%90%E8%BF%87%E7%A8%8B/">db/Elasticsearch系列/9-11文档操作/13-Elasticsearch - 分析过程</a>
      </h2>
      <p class="article-date">2020年3月10日</p>
      
      <div class="article-summary">
        
          13-Elasticsearch - 分析过程一 前言现在，我们已经了解了如何建立索引和搜索数据了。 那么，是时候来探索背后的故事了！当数据传递到elasticsearch后，到底发生了什么？
二分析过程当数据被发送到elasticsearch后并加入到倒排索引之前，elasticsearc ...
        
      </div>
      <a class="more" href="/db/Elasticsearch%E7%B3%BB%E5%88%97/9-11%E6%96%87%E6%A1%A3%E6%93%8D%E4%BD%9C/13-Elasticsearch%20-%20%E5%88%86%E6%9E%90%E8%BF%87%E7%A8%8B/">详情...</a>
    </article>
  
    <article class="article-card">
      <h2 class="article-head">
        <a href="/db/Elasticsearch%E7%B3%BB%E5%88%97/9-11%E6%96%87%E6%A1%A3%E6%93%8D%E4%BD%9C/12-Elasticsearch%E4%B9%8Bmappings%20parameters/">db/Elasticsearch系列/9-11文档操作/12-Elasticsearch之mappings parameters</a>
      </h2>
      <p class="article-date">2020年3月10日</p>
      
      <div class="article-summary">
        
          12-Elasticsearch之mappings parameters一 ignore_above长度超过ignore_above设置的字符串将不会被索引或存储（个人认为会存储，但不会为该字段建立索引，也就是该字段不能被检索）。 对于字符串数组，ignore_above将分别应用于每个数组 ...
        
      </div>
      <a class="more" href="/db/Elasticsearch%E7%B3%BB%E5%88%97/9-11%E6%96%87%E6%A1%A3%E6%93%8D%E4%BD%9C/12-Elasticsearch%E4%B9%8Bmappings%20parameters/">详情...</a>
    </article>
  
    <article class="article-card">
      <h2 class="article-head">
        <a href="/db/Elasticsearch%E7%B3%BB%E5%88%97/9-11%E6%96%87%E6%A1%A3%E6%93%8D%E4%BD%9C/11-Elasticsearch%E4%B9%8Bmappings%E7%9A%84%E5%85%B6%E4%BB%96%E8%AE%BE%E7%BD%AE%EF%BC%9Aindex%E3%80%81copy_to%E3%80%81%E5%AF%B9%E8%B1%A1%E5%B1%9E%E6%80%A7%E3%80%81settings/">db/Elasticsearch系列/9-11文档操作/11-Elasticsearch之mappings的其他设置：index、copy_to、对象属性、settings</a>
      </h2>
      <p class="article-date">2020年3月10日</p>
      
      <div class="article-summary">
        
          一 前言上一小节中，根据dynamic的状态不同，我们对字段有了更多可自定义的操作。现在再来补充一个参数，使自定义的属性更加的灵活。
二 index首先来创建一个mappings：
123456789101112131415161718PUT m4&#123;  &quot;mappings ...
        
      </div>
      <a class="more" href="/db/Elasticsearch%E7%B3%BB%E5%88%97/9-11%E6%96%87%E6%A1%A3%E6%93%8D%E4%BD%9C/11-Elasticsearch%E4%B9%8Bmappings%E7%9A%84%E5%85%B6%E4%BB%96%E8%AE%BE%E7%BD%AE%EF%BC%9Aindex%E3%80%81copy_to%E3%80%81%E5%AF%B9%E8%B1%A1%E5%B1%9E%E6%80%A7%E3%80%81settings/">详情...</a>
    </article>
  
    <article class="article-card">
      <h2 class="article-head">
        <a href="/db/Elasticsearch%E7%B3%BB%E5%88%97/9-11%E6%96%87%E6%A1%A3%E6%93%8D%E4%BD%9C/10-Elasticsearch%20mappings%E4%B9%8Bdynamic%E7%9A%84%E4%B8%89%E7%A7%8D%E7%8A%B6%E6%80%81/">db/Elasticsearch系列/9-11文档操作/10-Elasticsearch mappings之dynamic的三种状态</a>
      </h2>
      <p class="article-date">2020年3月10日</p>
      
      <div class="article-summary">
        
          10-Elasticsearch mappings之dynamic的三种状态一 前言一般的，mapping则又可以分为动态映射（dynamic mapping）和静态（显式）映射（explicit mapping）和精确（严格）映射（strict mappings），具体由dynamic属性 ...
        
      </div>
      <a class="more" href="/db/Elasticsearch%E7%B3%BB%E5%88%97/9-11%E6%96%87%E6%A1%A3%E6%93%8D%E4%BD%9C/10-Elasticsearch%20mappings%E4%B9%8Bdynamic%E7%9A%84%E4%B8%89%E7%A7%8D%E7%8A%B6%E6%80%81/">详情...</a>
    </article>
  
    <article class="article-card">
      <h2 class="article-head">
        <a href="/db/Elasticsearch%E7%B3%BB%E5%88%97/9-11%E6%96%87%E6%A1%A3%E6%93%8D%E4%BD%9C/9-Elasticsearch%E4%B9%8Bmappings/">db/Elasticsearch系列/9-11文档操作/9-Elasticsearch之mappings</a>
      </h2>
      <p class="article-date">2020年3月10日</p>
      
      <div class="article-summary">
        
          9-Elasticsearch之mappings一 前言我们应该知道，在关系型数据库中，必须先定义表结构，才能插入数据，并且，表结构不会轻易改变。而我们呢，我们怎么玩elasticsearch的呢：
123456789PUT t1&#x2F;doc&#x2F;1&#123;  &quot;n ...
        
      </div>
      <a class="more" href="/db/Elasticsearch%E7%B3%BB%E5%88%97/9-11%E6%96%87%E6%A1%A3%E6%93%8D%E4%BD%9C/9-Elasticsearch%E4%B9%8Bmappings/">详情...</a>
    </article>
  

  
    <div class="guide-pager">
  
    <a href="/page/25/"><span class="page-arrow">← </span>Prev</a>
  
  
    <a href="/page/27/">Next<span class="page-arrow"> →</span></a>
  
</div>
  
</main>


    <div class="scroll-top">
  <span class="arrow-icon"></span>
</div>
    <footer class="app-footer">
<!-- 不蒜子统计 -->
<span id="busuanzi_container_site_pv">
     本站总访问量<span id="busuanzi_value_site_pv"></span>次
</span>
<span class="post-meta-divider">|</span>
<span id="busuanzi_container_site_uv" style='display:none'>
     本站访客数<span id="busuanzi_value_site_uv"></span>人
</span>
<script async src="//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script>



  <p class="copyright">
    &copy; 2021 | Proudly powered by <a href="https://www.cnblogs.com/xiaoyuanqujing" target="_blank">小猿取经</a>
    <br>
    Theme by <a href="https://www.cnblogs.com/xiaoyuanqujing" target="_blank" rel="noopener">小猿取经</a>
  </p>
</footer>

<script>
  function async(u, c) {
    var d = document, t = 'script',
      o = d.createElement(t),
      s = d.getElementsByTagName(t)[0];
    o.src = u;
    if (c) { o.addEventListener('load', function (e) { c(null, e); }, false); }
    s.parentNode.insertBefore(o, s);
  }
</script>
<script>
  async("//cdnjs.cloudflare.com/ajax/libs/fastclick/1.0.6/fastclick.min.js", function(){
    FastClick.attach(document.body);
  })
</script>

<script>
  var hasLine = 'true';
  async("//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/highlight.min.js", function(){
    $('figure pre').each(function(i, block) {
      var figure = $(this).parents('figure');
      if (hasLine === 'false') {
        figure.find('.gutter').hide();
      }
      var lang = figure.attr('class').split(' ')[1] || 'code';
      var codeHtml = $(this).html();
      var codeTag = document.createElement('code');
      codeTag.className = lang;
      codeTag.innerHTML = codeHtml;
      $(this).attr('class', '').empty().html(codeTag);
      figure.attr('data-lang', lang.toUpperCase());
      hljs.highlightBlock(block);
    });
  })
</script>





<!-- Baidu Tongji -->

<script>
    var _baId = 'c5fd96eee1193585be191f318c3fa725';
    // Originial
    var _hmt = _hmt || [];
    (function() {
      var hm = document.createElement("script");
      hm.src = "//hm.baidu.com/hm.js?" + _baId;
      var s = document.getElementsByTagName("script")[0];
      s.parentNode.insertBefore(hm, s);
    })();
</script>


<script src="/js/script.js"></script>


<script src="/js/search.js"></script>


<script src="/js/load.js"></script>



  <span class="local-search local-search-google local-search-plugin" style="right: 50px;top: 70px;;position:absolute;z-index:2;">
      <input type="search" placeholder="站内搜索" id="local-search-input" class="local-search-input-cls" style="">
      <div id="local-search-result" class="local-search-result-cls"></div>
  </span>


  </body>
</html>